<?php

/**
 * @package Framework03
 * @author Walter Tamboer
 */

require('api/api.php'); 

// Application settings
Settings::Singleton()->Set('debug', true);
Settings::Singleton()->Set('timezone', 'Europe/Amsterdam'); // See http://php.net/manual/en/timezones.php
Settings::Singleton()->Set('defaultController', 'welcome');
Settings::Singleton()->Set('defaultAction', 'main');

// Database settings
Settings::Singleton()->Set('dbType', 'MySQL');
Settings::Singleton()->Set('dbName', 'name');
Settings::Singleton()->Set('dbHost', 'hostname');
Settings::Singleton()->Set('dbUser', 'username');
Settings::Singleton()->Set('dbPass', 'password');

try
{
	$Framework03 = new Framework03();
	$Framework03->Start();
}
catch (Exception $e)
{
	echo 'Exception: ' . $e->GetMessage();
}

?>